export interface LoginRequestData {
  mobile_numb: string
  sms: string
  rememberToLogIn: boolean
}

export interface LoginRequestCode {
  mobile_numb: string
  randstr: string
  ticket: string
}

export interface tagArrType {
  id: number
  name: string
  status: number
  create_time: number
}
export interface knowledgeParams {
  name: string
  info: string
}
export interface knowledgeType {
  list: any
  const: number
}

export interface aiModelListType {
  admin_id?: number
  cover: string
  create_time?: number
  engine?: string
  id: number
  name: string
  status?: number
  tag_id?: number
  text: string
}

export interface modelDataType {
  modelData: aiModelListType[]
}
export interface defaultTableType {
  tableData: knowledgeType[]
}

export interface administratorsType {
  count: number
  list: any
}

export type LoginCodeResponseData = ApiResponseData<string>

export type LoginResponseData = ApiResponseData<{ token: string }>

export type UserInfoResponseData = ApiResponseData<{ phone: string; roles: string[] }>

export type tagArrData = ApiResponseData<tagArrType[]>

export type aiModelListData = ApiResponseData<aiModelListType[]>

export type knowledgeData = ApiResponseData<knowledgeType>

export type administratorsData = ApiResponseData<administratorsType>
